package Web;

import Covid.enums.ContactHistory;
import Covid.enums.Symptom;
import java.util.Set;

public class DiagnosisRequest {
    private Set<Symptom> symptoms;
    private Set<ContactHistory> contactHistories;
    private Double temperature;

    // Getter for symptoms
    public Set<Symptom> getSymptoms() {
        return symptoms;
    }

    // Setter for symptoms
    public void setSymptoms(Set<Symptom> symptoms) {
        this.symptoms = symptoms;
    }

    // Getter for contactHistories
    public Set<ContactHistory> getContactHistories() {
        return contactHistories;
    }

    // Setter for contactHistories
    public void setContactHistories(Set<ContactHistory> contactHistories) {
        this.contactHistories = contactHistories;
    }

    // Getter for temperature
    public Double getTemperature() {
        return temperature;
    }

    // Setter for temperature
    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    @Override
    public String toString() {
        return "DiagnosisRequest{" +
                "symptoms=" + symptoms +
                ", contactHistories=" + contactHistories +
                ", temperature=" + temperature +
                '}';
    }
}